package cn.com.utt.common.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Select;
import cn.com.utt.common.vo.Role;

public interface RoleMapper {
	
	@Select("select * from role where type=1")
	List<Role> queryAll();
	
	@Select("select * from role where type=2")
	List<Role> queryBasic();
	
	@Select("select * from role where type=1 and enable=1")
	List<Role> query();
	
}
